#include "dominion.h"
#include "dominion.c"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "dominion_helpers.h"
#include "rngs.h"
#include "rngs.c"
#include <time.h>


#define Num_Test 100


int main(){
	int i;
	int j;
	int king[10];
	int rand;
	int *k;
	int g;

	for(i = 0; i<Num_Test; i++){
		for(j= 1; j <= 10; j++){
			rand = (rand() % j);
			k = kingdomCards(king[0],king[1],king[2],king[3],king[4],king[5],king[6],king[7],king[8],king[9]);
			assert(king[rand] == k[rand]);
		}
	}
	printf("all test passed /n")
	printf("ran though the kingdomcards 100 times")
}


